Ext.define("App.view.school.TabPanel", {
    extend: "Ext.tab.Panel",
    requires: ["App.view.school.Bio", "App.view.subject.List", "App.view.teacher.List"],
    id: "schoolTabPanel",
    config: {
        tabBar: {
            ui: "gray"
        },
        items: [{
            id: "schoolToolbar",
            docked: "top",
            xtype: "toolbar",
            items: [{
                xtype: "button",
                text: "返回",
                ui: "back",
                id: "schoolBackButton"
            }]
        },
        {
            title: "学校介绍",
            xclass: "App.view.school.Bio",
			cls: 'card'
        },
        {
            title: "历年分数线",
            xclass: "App.view.score.List"
        },
        {
            title: "老师推荐",
            xclass: "App.view.teacher.List"
        }]
    }
});